package com.example.springboot01.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Date;

@Controller
public class JspController {

    @RequestMapping(value = "/returnJsp")
    public String returnJsp(Model model){
        model.addAttribute("date", new Date());
        return "hello";
    }
}
